﻿<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:DAXEditor="clr-namespace:DAXEditor;assembly=DAXEditor" x:Class="DaxStudio.UI.Experiments.Editor"
        xmlns:ae="http://icsharpcode.net/sharpdevelop/avalonedit" 
        Title="Editor" Height="300" Width="440.977" Drop="OnWindowDrop">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="150"/>
            <ColumnDefinition Width="*"/>

        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        
        <TextBox Grid.Column="0" Grid.RowSpan="2" Drop="TxtOnDrop" DragEnter="TxtDragEnter" DragOver="TxtDragOver" PreviewDragEnter="TxtDragEnter" PreviewDragOver="TxtDragOver" PreviewDrop="TxtOnDrop">blah</TextBox>
        <DAXEditor:DAXEditor x:Name="DaxEditor1" Grid.Column="1" Drop="OnDrop" AllowDrop="True" DragEnter="OnDragEnter" DragOver="OnDragOver" PreviewDragEnter="OnDragEnter" PreviewDragOver="OnDragOver" PreviewDrop="OnDropPreview"/>
        <ae:TextEditor Grid.Row="1" Grid.Column="1" AllowDrop="False" Drop="OnDrop" DragEnter="OnDragEnter"></ae:TextEditor>
    </Grid>
</Window>
